@import 'baseMixin';
@import '../variable/base-color';

$c:$border-color;

@mixin setTopLine($color:$c) {
	content: " ";
  	position: absolute;
  	left: 0;
  	right: 0;
	top: 0;
  	height: 1px;
    border-top: 1px solid $c;
  	@include prefix(transform,scaleY(.5));
    @include prefix(transform-origin,0 0);
}

@mixin setBottomLine($color:$c) {
	content: " ";
	position: absolute;
  	left: 0;
  	right: 0;
	bottom: 0;
  	height: 1px;
  	border-top: 1px solid $c;
  	@include prefix(transform,scaleY(.5));
    @include prefix(transform-origin,0 100%);
}

@mixin setLeftLine($color:$c) {
	content: " ";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 1px;
	border-left: 1px solid $c;
	@include prefix(transform,scaleX(.5));
	@include prefix(transform-origin,0 0);
}

@mixin setRightLine($color:$c) {
	content: " ";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 1px;
	border-right: 1px solid $c;
	@include prefix(transform,scaleX(.5));
	@include prefix(transform-origin,100% 0);
}

@mixin setBorderLine($color:$c) {
	content: " ";
	position: absolute;
	left: 0;
	top: 0;
	width: 200%;
	height: 200%;
	border: 1px solid $c;
	@include prefix(transform-origin,0 0);
	@include prefix(transform,scale(.5));
}

@mixin setNoneLine($color:$c) {
	content: " ";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: 0;
	border-right: 0 solid $c;
	@include prefix(transform,scaleX(.5));
	@include prefix(transform-origin,100% 0);
}